package com.mjk.manager.task.model;

import com.mjk.common.base.model.BaseEntity;
import com.mjk.common.core.jdbc.annotation.ArcSharding;
import com.mjk.common.core.jdbc.annotation.ExampleField;
import com.mjk.common.core.jdbc.annotation.Filed;
import com.mjk.common.core.jdbc.annotation.Id;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@ArcSharding(table = "task_exception")
public class TaskException extends BaseEntity {
    @Filed(comment = "创建时间",lenght = 255,cloum = "createTime")
    private String createtime;
    @Filed(comment = "异常信息",lenght = 255,cloum = "exception")
    private String exception;

    @Id
    @ExampleField
    private Integer id;
    @Filed(comment = "任务ID",lenght = 255,cloum = "taskId")
    private String taskid;
    @Filed(comment = "任务名称",lenght = 255,cloum = "taskName")
    private String taskname;
    @Filed(comment = "任务参数",lenght = 255,cloum = "taskParams")
    private String taskparams;

}